//
//  TestTool.h
//  循环引用示例
//
//  Created by 江湖 on 2019/6/14.
//  Copyright © 2019 江湖. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
//协议
@protocol TestToolDelegate <NSObject>
- (void)protacolTest:(NSString *)string;
@end

typedef void(^MyBlock)(NSString *string);

@interface TestTool : NSObject
//强引用
@property (nonatomic,strong)id <TestToolDelegate> delegate;
//@property (nonatomic,weak)id <TestToolDelegate> delegate;
//强引用
@property (nonatomic,strong) id ID;
//@property (nonatomic,weak) id ID;

@property (nonatomic,copy) MyBlock block;

- (void)testBlock:(void(^)(NSString *string))block;

@end
